home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / perl5 / auto / POSIX / fstat.al < prev    next >
Text File  |  1995-07-02  |  240b  |  14 lines

  1. # NOTE: Derived from lib/POSIX.pm.  Changes made here will be lost.
  2. package POSIX;
  3.  
  4. sub fstat {
  5.     usage "fstat(fd)" if @_ != 1;
  6.     local(*TMP);
  7.     open(TMP, "<&$_[0]");        # Gross.
  8.     local(@l) = stat(TMP);
  9.     close(TMP);
  10.     @l;
  11. }
  12.  
  13. 1;
  14.